package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.entity.SysRoleMenu;
import net.qhzw.vip.qiyu.model.RoleMenuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {


    int deleteByRoleIdAndMenuId(@Param("roleId") Long roleId, @Param("menuId") Long menuId);


    List<RoleMenuVo> findByPage(@Param("shopId") Long shopId, @Param("name") String name);

}